<template>
  <div class="swiper-container">
    <van-swipe :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="(image, index) in images" :key="index">
        <img style="width: 100%;height: 100%;" :src="image" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: 'swiper',
  data() {
    return {
      images: [
        require('@/assets/Home-swiper/swiper1.png'),
        require('@/assets/Home-swiper/swiper2.png'),
        require('@/assets/Home-swiper/swiper3.png'),
        require('@/assets/Home-swiper/swiper4.png')
      ]
    }
  }
}
</script>

<style lang="less" scoped>
.van-swipe {
  height: 200px;
}
</style>